package com.xbongbong.paas.field;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author 吴峰
 * @version v1.0
 * @date 2019/6/24 16:00
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class LinkListPojo implements Serializable {

    private static final long serialVersionUID = 9196571196852203566L;
    /**
     * 关联表对应的应用id
     */
    @NotNull(message = "请设置关联表")
    private Long linkAppId;

    /**
     * 关联表对应的表单id
     */
    @NotNull(message = "请设置关联表")
    private Long linkFormId;
    /**
     * 关联表对应的菜单id
     */
    private Long linkMenuId;


    private String name;

    /**
     * 关联表单saas标识
     */
    private Integer linkSaasMark;

    /**
     * 关联表单业务类型
     */
    private Integer linkBusinessType;

    /**
     * 子业务类型；比如日报、周报、月报
     */
    private Integer linkSubBusinessType;

    private String attr;

    private Integer sort;

    /**
     * 是否启用 1：启用；0：不启用
     */
    private Integer enable;

    /**
     * 经销商标记
     */
    private Integer distributorMark;

}
